package com.youi.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class RefundorderVo implements Serializable {

	private String merchantName;				//供应商名称
	private String merchantPhone;				//供应商联系电话
	private List<Ordergoods> ordergoodsList;   	//订单商品信息	
	private String address;						//收货地址
	private String consignee;				    //联系人
	private String phone;					    //联系电话
	private String refunderNo;					//服务单号
	private Date gmtApply;						//售后申请时间
	private String reason;						//申请原因
	private Integer status;						//售后订单退款状态(-2退款失败 -1未收货 0退款中 1退款成功)
	private Integer auditStatus;				//售后订单审核状态(-1不通过 0未审核 1通过 2关闭订单)
	private Integer takeStatus;					//退货状态(-1未收货 0已收货 1 不退货)
	private Double amount;						//退款总额
	
	
	public RefundorderVo(){
		
	}
	
	public RefundorderVo(Userorder userorder,Refundorder refundorder){
		this.merchantName=userorder.getMerchantName();
		this.merchantPhone=userorder.getMerchantPhone();
		this.ordergoodsList=userorder.getOrdergoodsList();
		this.address=userorder.getAddress();
		this.consignee=userorder.getConsignee();
		this.phone=userorder.getPhone();
		this.refunderNo=refundorder.getRefundOrderNo();
		this.gmtApply=refundorder.getGmtCreated();
		this.reason=refundorder.getRefuseReason();
		this.status=refundorder.getStatus();
		this.auditStatus=refundorder.getApplyStatus();
		this.amount=refundorder.getRefundAmount();
		this.takeStatus=refundorder.getTakeStatus();
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getMerchantPhone() {
		return merchantPhone;
	}

	public void setMerchantPhone(String merchantPhone) {
		this.merchantPhone = merchantPhone;
	}

	public List<Ordergoods> getOrdergoodsList() {
		return ordergoodsList;
	}

	public void setOrdergoodsList(List<Ordergoods> ordergoodsList) {
		this.ordergoodsList = ordergoodsList;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getConsignee() {
		return consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRefunderNo() {
		return refunderNo;
	}

	public void setRefunderNo(String refunderNo) {
		this.refunderNo = refunderNo;
	}

	public Date getGmtApply() {
		return gmtApply;
	}

	public void setGmtApply(Date gmtApply) {
		this.gmtApply = gmtApply;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Integer getTakeStatus() {
		return takeStatus;
	}

	public void setTakeStatus(Integer takeStatus) {
		this.takeStatus = takeStatus;
	}

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}
	
	
}
